package simulator;

public class BuildFinishEvent {
	final private int endTime;
	final private GameAsset gameAsset;
	
	public BuildFinishEvent(int startTime, GameAsset gameAsset) {
		this.endTime = startTime + GameDataStore.getGameObjectFromGameAsset(gameAsset).buildTime;
		this.gameAsset = gameAsset;
	}
	
	public int getEndTime() {
		return endTime;
	}
	public GameAsset getGameAsset() {
		return gameAsset;
	}
}
